From: Lisandro Damián Nicanor Pérez Meyer Date: Sun, 22 Mar 2026 19:00:57 +0000 (+0100) Subject: remove RPATH/RUNPATH from examples' binaries. X-Git-Tag: archive/raspbian/6.10.2+dfsg-6+rpi1^2~3 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/%22mailto:kde%40ewsoftware.de//%22%22/%22http:/www.example.com/%22mailto:kde%40ewsoftware.de/%22%22?a=commitdiff_plain;h=597a5a4086b48f4a2bd1f966fbd816a06dc9bb35;p=qt6-base.git remove RPATH/RUNPATH from examples' binaries. Forwarded: not-needed Last-Update: 2024-02-15 On Debian the examples are built against system's libraries, so there is no need to set RPATH/RUNPATH. Gbp-Pq: Name remove_rpath_from_examples.patch --- diff --git a/cmake/QtBuildRepoExamplesHelpers.cmake b/cmake/QtBuildRepoExamplesHelpers.cmake index 126a5ff3f..a68a3a7ca 100644 --- a/cmake/QtBuildRepoExamplesHelpers.cmake +++ b/cmake/QtBuildRepoExamplesHelpers.cmake @@ -122,7 +122,7 @@ macro(qt_examples_build_begin) # This means that installed examples are not relocatable at the moment. We would need to # annotate where each example is installed to, to be able to derive a relative rpath, and it # seems there's no way to query such information from CMake itself. - set(CMAKE_INSTALL_RPATH "${_default_install_rpath}") + #set(CMAKE_INSTALL_RPATH "${_default_install_rpath}") install(CODE " # Backup CMAKE_INSTALL_PREFIX because we're going to change it in each example subdirectory